xend: Improve information-gathering processing of SCSI devices by using lsscsi
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 17 Feb 2009 11:12:50 +0000 (11:12 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 17 Feb 2009 11:12:50 +0000 (11:12 +0000)
commitec54fc8c6db34e43d9a0f1f4eaa62c68861d8b9f
tree2f8f43d3ec7c46fd794196c84806d02d1938f464
parent701b5e769638907586f459fde98d8fb7a13a4a44
xend: Improve information-gathering processing of SCSI devices by using lsscsi

In the case of xm scsi-attach, when the SCSI devices are specified in
HCTL form or device name form, the processing is faster.

If lsscsi command is not installed, the processing works by using
information of /sys as before.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
tools/python/xen/util/vscsi_util.py